package com.guli.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.common.utils.R;
import com.guli.coupon.dto.PublishCouponDto;
import com.guli.coupon.entity.CouponEntity;

import java.util.Map;

/**
 * 优惠券信息
 *
 * @author zzb
 * @email 1626131069@qq.com
 * @date 2023-11-21 15:59:18
 */
public interface CouponService extends IService<CouponEntity> {

    PageUtils queryPage(Map<String, Object> params);

    boolean publishCoupon(PublishCouponDto publishCouponDto);

    R getCoupon(Long couponId);

    R getMemberCoupons();

    R getCouponCatch();
}

